package com.ruoyi.develop.factory.factoryTestZn.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.develop.factory.factoryTestZnDetail.domain.FactoryTestZnDetail;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出厂试验-镀锌质量对象 factory_test_zn
 *
 * @author lmm
 * @date 2024-11-05
 */
public class FactoryTestZn extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 框架id
     */
    @Excel(name = "框架id")
    private String projectId;

    /**
     * 框架编号
     */
    @Excel(name = "框架编号")
    private String projectCode;

    /**
     * 生产订单号
     */
    @Excel(name = "生产订单号")
    private String orderId;

    /**
     * 订单id
     */
    @Excel(name = "订单编号")
    private String orderCode;

    /**
     * 工单id
     */
    private String workOrderId;

    /**
     * 到货明细id
     */
    private String daohuoDetailId;

    /**
     * 入库明细id
     */
    private String rukuId;

    /**
     * 生产明细id
     */
    private String produceRecordDetailId;

    /**
     * 工单编号
     */
    private String workOrderCode;

    /**
     * 订单产品id
     */
    @Excel(name = "订单产品id")
    private String goodsSaleId;

    /**
     * 产品id
     */
    @Excel(name = "产品id")
    private String goodsId;

    /**
     * 产品编号
     */
    @Excel(name = "产品编号")
    private String goodsCode;

    /**
     * 产品名称
     */
    @Excel(name = "产品名称")
    private String goodsName;

    /**
     * 产品型号
     */
    @Excel(name = "产品型号")
    private String goodsModel;

    /**
     * 抽检批次号
     */
    @Excel(name = "抽检批次号")
    private String batchNumber;

    /**
     * 生产批次号
     */
    @Excel(name = "生产批次号")
    private String productNumber;

    /**
     * 检验时间
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @Excel(name = "检验时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inspectTime;

    /**
     * 锌层厚度
     */
    @Excel(name = "锌层厚度")
    private BigDecimal znThick;

    /**
     * 质检报告
     */
    @Excel(name = "质检报告")
    private String reportFile;


    /**
     * 质检文件
     */
    @Excel(name = "质检文件")
    private String pictureFile;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;

    /**
     * 删除标志
     */
    private String delFlag;

    /** 到货明细id */
    private String fahuoDetailId;

    /** * 抽样ID */
    private String sampleId;

    /** * 是否合格   */
    private String  testPass;

    private List<FactoryTestZnDetail> detailList;

    public List<FactoryTestZnDetail> getDetailList() {
        return detailList;
    }

    public void setDetailList(List<FactoryTestZnDetail> detailList) {
        this.detailList = detailList;
    }

    public String getTestPass() {
        return testPass;
    }

    public void setTestPass(String testPass) {
        this.testPass = testPass;
    }

    public String getSampleId() {
        return sampleId;
    }

    public void setSampleId(String sampleId) {
        this.sampleId = sampleId;
    }

    public String getFahuoDetailId() {
        return fahuoDetailId;
    }

    public void setFahuoDetailId(String fahuoDetailId) {
        this.fahuoDetailId = fahuoDetailId;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsModel(String goodsModel) {
        this.goodsModel = goodsModel;
    }

    public String getGoodsModel() {
        return goodsModel;
    }

    public void setInspectTime(Date inspectTime) {
        this.inspectTime = inspectTime;
    }

    public Date getInspectTime() {
        return inspectTime;
    }

    public BigDecimal getZnThick() {
        return znThick;
    }

    public void setZnThick(BigDecimal znThick) {
        this.znThick = znThick;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getBatchNumber() {
        return batchNumber;
    }

    public void setBatchNumber(String batchNumber) {
        this.batchNumber = batchNumber;
    }

    public String getProductNumber() {
        return productNumber;
    }

    public void setProductNumber(String productNumber) {
        this.productNumber = productNumber;
    }

    public String getWorkOrderId() {
        return workOrderId;
    }

    public void setWorkOrderId(String workOrderId) {
        this.workOrderId = workOrderId;
    }

    public String getWorkOrderCode() {
        return workOrderCode;
    }

    public void setWorkOrderCode(String workOrderCode) {
        this.workOrderCode = workOrderCode;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getDaohuoDetailId() {
        return daohuoDetailId;
    }

    public void setDaohuoDetailId(String daohuoDetailId) {
        this.daohuoDetailId = daohuoDetailId;
    }

    public String getRukuId() {
        return rukuId;
    }

    public String getProduceRecordDetailId() {
        return produceRecordDetailId;
    }

    public void setProduceRecordDetailId(String produceRecordDetailId) {
        this.produceRecordDetailId = produceRecordDetailId;
    }

    public void setRukuId(String rukuId) {
        this.rukuId = rukuId;
    }

    public String getGoodsSaleId() {
        return goodsSaleId;
    }

    public void setGoodsSaleId(String goodsSaleId) {
        this.goodsSaleId = goodsSaleId;
    }

    public String getReportFile() {
        return reportFile;
    }

    public void setReportFile(String reportFile) {
        this.reportFile = reportFile;
    }

    public String getPictureFile() {
        return pictureFile;
    }

    public void setPictureFile(String pictureFile) {
        this.pictureFile = pictureFile;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("goodsName", getGoodsName())
                .append("goodsModel", getGoodsModel())
                .append("inspectTime", getInspectTime())
                .append("znThick", getZnThick())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
